package com.ruoyi.business.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;


@Data
public class FilePersonImportVo {
    @ExcelProperty(value = {"档案系统人员名册", "序号"})
    private Integer index;

    @ExcelProperty(value = {"档案系统人员名册", "姓名"})
    private String name;

    @ExcelProperty(value = {"档案系统人员名册", "工号"})
    private String code;

    @ExcelProperty(value = {"档案系统人员名册", "性别"})
    private String gender;

    @ExcelProperty(value = {"档案系统人员名册", "现任职务"})
    private String office;

    @ExcelProperty(value = {"档案系统人员名册", "出生日期"})
    private String birthday;

    @ExcelProperty(value = {"档案系统人员名册", "年龄"})
    private Integer age;

    @ExcelProperty(value = {"档案系统人员名册", "民族"},converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_ethnic_group")
    private String ethnicgroup;

    @ExcelProperty(value = {"档案系统人员名册", "政治面貌"},converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_political_outlook")
    private String politicaloutlook;

    @ExcelProperty(value = {"档案系统人员名册", "全日制最高学历"},converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_education")
    private String education;

    @ExcelProperty(value = {"档案系统人员名册", "全日制最高学位"},converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_degree")
    private String degree;

    @ExcelProperty(value = {"档案系统人员名册", "机构名称"})
    private String groupName;

    @ExcelProperty(value = {"档案系统人员名册", "部门名称"})
    private String deptName;

    @ExcelProperty(value = {"档案系统人员名册", "岗位名称"})
    private String postName;

    @ExcelProperty(value = {"档案系统人员名册", "身份证号"})
    private String identity;

    @ExcelProperty(value = {"档案系统人员名册", "职务名称"},converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_job")
    private String jobTitle;

    @ExcelProperty(value = {"档案系统人员名册", "手机"})
    private String phonenumber;

}
